<template>
  <div id="app">
    <div id="nav">
    <router-view/>
    </div>
    
    </div>
  
</template>

<script>

import{ mapMutations} from 'vuex'
 
export default {
 
    name:'app',
  created(){
    this.changeNum()
  },
  methods:{
    ...mapMutations(['changeNum'])
  }
  
}
</script>

<style lang="scss">
#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
  background: #F3F5F7;
 
}

#nav {
 

  a {
    font-weight: bold;
    color: #2c3e50;

    &.router-link-exact-active {
      color: #42b983;
    }
  }
}
</style>
